<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ include file="/WEB-INF/pages/template/libs.jsp" %>

<%
response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><bean:message key="app.name"/></title>

<link href="resources/css/cineplanet.css" rel="stylesheet"/>
<!-- Windows -->
<link href="resources/windowjs/themes/default.css" rel="stylesheet" type="text/css"/> 
<link href="resources/windowjs/themes/alphacube.css" rel="stylesheet" type="text/css"/> 

<script type="text/javascript" src="resources/js/prototype.js" ></script>
<script type="text/javascript" src="resources/js/common.js" ></script>
<script type="text/javascript" src="resources/js/session/login.js" ></script>

<script type="text/javascript" src="resources/windowjs/javascripts/window.js"></script>

<script>
	var Messages = {
		nologin: '<bean:message key="app.login.nologin"/>',
		expired: '<bean:message key="app.login.expired"/>',
		noactive: '<bean:message key="app.login.noactive"/>',
		
		closeButton: '<bean:message key="app.window.button.close"/>'
	};

</script>
 
</head>

<body>
<table id="fullheight">
	<tr>
		<td valign="top">
			<div class="frame" >
				<div class="form">
					<ex:language saveCurrentPage="false"/>
				</div>
			</div>	
		</td>
	</tr>
	<tr>
		<td valign="top" align="center">
		
			<form id="frmLogin" action="login.htm" method="post">
				<input type="hidden" name="method" value="login" />
											
				<div class="frame" style="width:  500px;">
					<div class="title">
						<img src="resources/img/logo.png"><br/>
						<span class="bluetext">	<bean:message key="app.caption"/> </span>
					</div>
					<div class="bluebar"></div>
					<div class="form adjust">
					
						<dl class="form-list">
			              <dt><bean:message key="app.login.user"/></dt>
			              <dd>
			                <input type="text" name="user" id='user'/><br/>
			              </dd>
			              <dt><bean:message key="app.login.pwd"/></dt>
			              <dd>
			                <input type="password" name="pwd" id='pwd'/><br/>
			              </dd>
			            </dl>
						
						<div class="buttons">
							<div class="button">
								<ex:button customClass="blue" onClick="doLogin()"><bean:message key="app.login.init"/></ex:button>
							</div>
							<div class="button">
								<ex:button><bean:message key="app.login.forget"/></ex:button>
							</div>
						</div>
						
						<input type="hidden" id='msg' value='<c:out value="${msg}" />' />
										
					</div>
					<div class="footer">
						<bean:message key="app.copy"/>
					</div>
				
				</div>
			
			
			</form>







			
		</td>
	</tr>
</table>

</body>
</html>